<div class="block-link" *ngIf="tagData.cssType !== '4'"
    [ngClass]="{'block-link-css1': tagData.cssType === '1', 'block-link-css2': tagData.cssType === '2'}">
    <div *ngIf="tagData.title" class="title" [ngClass]="{'css3Title': tagData.cssType === '3'}">{{tagData.title}}</div>
    <div appDebounceClick (debounceClick)="jumpToPage(item)" class="link-box"
        [ngClass]="{'css1': tagData.cssType === '1' , 'css3': tagData.cssType === '3'}"
        *ngFor="let item of tagData.data">
        <div class="backgroundDiv" *ngIf="tagData.cssType === '3'"></div>
        <img *ngIf="item.imageUrl" [src]="item.imageUrl">
        <img *ngIf="!item.imageUrl" src="https://via.placeholder.com/150">
        <label class="labelOne">{{item?.label}} </label>
        <label class="nameStyle">{{item?.text}} </label>
    </div>
</div>

<div class="block-link type4" *ngIf="tagData.cssType === '4'">
    <div class="link-box" appDebounceClick (debounceClick)="jumpToPage(item)" *ngFor="let item of tagData.data">
        <img *ngIf="item.imageUrl" [src]="item.imageUrl">
        <img *ngIf="!item.imageUrl" src="https://via.placeholder.com/150">
        <label class="labelOne">{{item?.label}} </label>
        <label class="nameStyle">{{item?.text}} </label>
    </div>
</div>